<template>
  <div>
    login
    <el-button @click="linkTo">登录</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    linkTo() {
      this.$router.push("/redirect/home");
    },
  },
};
</script>

<style scoped></style>
